package com.chaos.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.chaos.framework.model.entity.IdModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 *
 * @author Jacky.Cui
 * @since 2024-11-21
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper =false)
@Accessors(chain = true)
@TableName("oauth_client_details_permission")
@ApiModel(value="OauthClientDetailsPermission实体", description="客户端权限表")
public class OauthClientDetailsPermission extends IdModel {

    @TableField("client_id")
    private String clientId;


    @ApiModelProperty(value = "权限id")
    @TableField("permission_id")
    private Long permissionId;


}
